﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LPLS.Commons.Enums
{
    /// <summary>
    /// 设备通讯类型
    /// </summary>
    public enum DeviceCommunicationType : int
    {
        [Description("OPCUA")]
        OPCUA = 1,
        [Description("OPCDA")]
        OPCDA = 2,
        [Description("S7")]
        S7 = 3



    }
    /// <summary>
    /// 设备运行状态
    /// </summary>
    public enum DeviceRunStatus : int
    {
        OnLine = 1,
        OffLine = 2,




    }
    /// <summary>
    /// 验证方式
    /// </summary>
    public enum AuthenticationMethod : int
    {
        [Description("匿名")]
        Anonymity = 0,
        [Description("用户登录")]
        User = 1,
        [Description("证书")]
        Certificate = 2



    }

    public enum MyDataType
    {

        Float = 1,
        Int = 2,
        Byte = 3,
        Double = 4,
        Bool = 5,
        SHORT = 6,
        STRING = 7,
        CHAR = 8,
        DEFALUE = 9,
        ARRAY = 10,
        LONG = 11


    }

    /// <summary>
    /// 采集模式
    /// </summary>
    public enum AcquisitionMode
    {
        Event = 1,
        Time = 2,
        Both = 3
    }
    public enum DeviceType : int
    {
        LineOut = 1,
        JustLineIn = 2



    }
}
